package cn.edu.scau.cmi.guihao.client;
	
import java.io.IOException;

import cn.edu.scau.cmi.guihao.pane.SingleMultiplePane;
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx.stage.Stage;
import javafx.stage.WindowEvent;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;


public class SingleMultipleModelClient extends Application {
	@Override
	public void start(Stage primaryStage) throws IOException {
		 try {
	            Scene scene = new Scene(new SingleMultiplePane(),400,400);
	            primaryStage.setScene(scene);
	            primaryStage.setResizable(false);
	            primaryStage.show();
	            primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>() {
				      @Override
				      public void handle(WindowEvent event) {
				    	  System.exit(0);
				      }
				});
	        } catch(Exception e) {
	            e.printStackTrace();
	        }
	}
	
	public static void main(String[] args) {
		launch(args);
	}
}
